package com.lyh.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BaseEntity;

/**
 * 收货地址对象 lyh_receive_address
 * 
 * @author ruoyi
 * @date 2023-05-11
 */
@Data
@TableName("lyh_receive_address")
public class ReceiveAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /** 所属用户 */
    @Excel(name = "所属用户")
    private Long userId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String specificAddress;

    /** 是否默认收货地址 */
    @Excel(name = "是否默认收货地址")
    private Integer isDefault;
}
